package org.xxpay.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.xxpay.core.entity.AgentSettDailyCollect;
import org.xxpay.core.service.IAgentAccountService;
import org.xxpay.core.service.IAgentSettDailyCollectService;
import org.xxpay.core.service.IMchAccountHistoryService;
import org.xxpay.service.dao.mapper.AgentSettDailyCollectMapper;

/**
 * @author: dingzhiwei
 * @date: 18/05/08
 * @description: 代理商结算汇总
 */
@Service
public class AgentSettDailyCollectServiceImpl implements IAgentSettDailyCollectService {

    @Autowired
    private AgentSettDailyCollectMapper agentSettDailyCollectMapper;

    @Autowired
    private IMchAccountHistoryService mchAccountHistoryService;

    @Autowired
    private IAgentAccountService agentAccountService;

    @Override
    public int add(AgentSettDailyCollect record) {
        return agentSettDailyCollectMapper.insertSelective(record);
    }
}
